<%@ page pageEncoding="utf-8" %>
<%@ page import="com.glodon.paas.account.web.util.SecurityUtils" %>
<header class="glodon_header clearfix">
	<%
   		if (SecurityUtils.getCurrentUser() != null) {
    %>
	<div class="list">
       	<!-- Add your phone number here -->
        <div class="phone">
           <i class="icon-gift"></i> 
           <a class="feedback">用户反馈</a>
        </div>
        <div>
           <i class="icon-star-empty"></i> 
           <a href="#">帮助</a>
        </div>
        <div>
           <i class="icon-heart"></i> 
           <a href="#">关于我们</a>
        </div>
     </div>
     <%} %>
    <div class="glodon_headerBg">
        <div class="mask" id="mask"><img src="${path}/images/loading.gif"></div>
        <div id="notify-wrapper" hidden><span id="notify" class=""><span id="notify-msg"></span></span></div>
        <div id="glodon_error_dlg" class="normal-modal hide fade in error-modal"
			style="z-index: 99999">
			<div class="modal-wrap">
				<div class="modal-header">
					<h3>错误处理</h3>
					<button data-dismiss="modal" class="close" type="button"></button>
				</div>
				<div class="modal-body"></div>
				<div class="modal-footer">
						<button data-dismiss="modal" class="btn" >取消</button>
					</div>
			</div>
		</div>
        
        <div class="glodon_header_wrap clearfix">
            <nav class="clearfix">
                <div id="glodon_logo" class="clearfix">
                    <a href="<%=request.getContextPath()%>">账户</a>
                </div>
                <div id="navBar" class="clearfix">
                    <%
                    	if (SecurityUtils.getCurrentUser() != null) {
                    %>
                    <div class="nav">
                        <div id="fat-menu" class="dropdown">
                            <a href="#" class="dropdown-toggle" data-toggle="dropdown" style="color:#0088CC">
                                <i class="icon_user"></i><span class="account-name" id="account-name"><%=SecurityUtils.getCurrentUser().getDisplayName()%></span>
                            </a>
                            <ul class="dropdown-menu">
                            	<li >
                                <a href="${path}"><i class="icon-user"></i>我的账户</a>
                                </li>
                                <li class="divider"></li>
                                <li >
                                <a href="/document"><i class="icon-folder-open"></i>我的文档</a>
                                </li>
                                <li class="divider"></li>
                                <li>
                                    <a href="${path}/logout"><i class="icon-off"></i>退出</a>
                                </li>
                            </ul>
                        </div>
                    </div>
                    <%} %>
                </div>
            </nav>
            <aside id="glodon_header_aside clearfix"></aside>
        </div>
    </div>
</header>
<div id="pagenav">
</div>
